'''
Created on 23/09/2012

@author: Charles Murray
'''

class Option(object):
    '''
    classdocs
    '''

    condition = ""

    def __init__(self, start, name, subtree, linkAddr=""):
        '''
        Constructor
        '''
        self.condition = start
        self.id = name
        self.subtree = subtree
        self.linkAddr = linkAddr
        
    def getStart(self):
        return self.condition
        
    def setLink(self, link):
        self.link = link
    
    def getLink(self):
        return self.link
    
    def getInfo(self):
        return "Option"
    
    def getSubtree(self):
        return self.subtree
    
    def getId(self):
        return self.id
    
    def getLinkAddr(self):
        return self.linkAddr
        